<?php

namespace App\Http\Controllers\Home;


use App\Models\ItemCatlog;
use App\Traits\WeChat\WechatDefaultConfig;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class TestController extends Controller
{
    use WechatDefaultConfig;

    public function index(Request $request)
    {
        return ItemCatlog::where('fid',0)->newModelInstance()->dd();
    }

    public function video(Request $request)
    {

        return $this->view('home.video');
    }
}
